API Transaction Status Inquiry
Berfungsi untuk melakukan melihat status dari payment qr
Service Info
HTTP Method | POST |
---|---|
Service Code | 51 |
Http Method | POST |
Path | ...{version}/qr/qr-mpm-query |
Header
Header Name | Tipe Data | Wajib | Deskripsi |
---|---|---|---|
Content-Type | String | Y | application/json |
Authorization | String | Y | Token B2B |
Authorization-Customer | String | Y | Token B2B2C |
X-SIGNATURE | String | Y | Dibuat dengan algoritma asymmetric with token B2B2C : Signature Generation |
X-PARTNER-ID | String | Y | Client’s client_id (diberikan pada saat onboarding ) |
X-EXTERNAL-ID | String | Y | Nomor referensi yang harus unik pada hari yg sama |
CHANNEL-ID | String | Y | 00001 untuk PJP and 00002 untuk non PJP |
Body
Parameter | Tipe Data | Wajib | Deskripsi |
---|---|---|---|
originalPartnerReferenceNo | String | Y | Pengidentifikasi transaksi pada sistem konsumen layanan Length: <= 64 karakter |
originalReferenceNo | String | Y | Pengidentifikasi transaksi asli pada sistem penyedia layanan Length: <= 64 karakter |
originalExternalId | String | Y | ID eksternal asli pada pesan header Length: <= 32 karakter |
serviceCode | String | Y | Kode layanan dari layanan yang akan diakses Length: <= 2 karakter |
merchantId | String | Y | Kode unik yang dimiliki setiap user Length: <= 64 characters |
Request samples
- JSON
- CURL
{
"originalReferenceNo":"5335008",
"originalPartnerReferenceNo":"20250123000000001",
"serviceCode":"51",
"merchantId":"121xxx"
}
curl --location --request POST '../v1.0/qr/qr-mpm-query' \
--header 'X-TIMESTAMP: 2023-01-25T13:51:00+07:00' \
--header 'X-SIGNATURE: RwABEherf+3MTBhIf6vtju6ko+YOFFKWLGgHCD5RwX1I17JCKVn8ffc/TenEIly85InhuIcKCDqDrxbIBhaKEg==' \
--header 'X-PARTNER-ID: 085224a9-4b42-4f7d-959f-4452f8a9a1ff' \
--header 'X-EXTERNAL-ID: 024a31b6-e0c8-429a-9d41-83a2f44b6844' \
--header 'X-DEVICE-ID: android-20013adf6cdd8123f' \
--header 'CHANNEL-ID: 12345' \
--header 'Authorization: Bearer bb005fcb-dea9-499a-9e7a-bcf651b2334e' \
--header 'Authorization-Customer:Bearer 5b8bbaf8-4aca-4072-9ea8-d85bed65105f' \
--header 'Content-Type: application/json' \
--data '{
"originalReferenceNo":"5335008",
"originalPartnerReferenceNo":"2025012300000xxxx",
"serviceCode":"51",
"merchantId":"121xxx"
}'
Response Structure
Parameter | Tipe Data | Deskripsi |
---|---|---|
responseCode | String | Kode respons Length: <= 7 karakter |
responseMessage | String | Deskripsi respons Length: <= 150 karakter |
originalReferenceNo | String | Kode transaksi yang di miliki speedcash |
originalPartnerReferenceNo | String | Kode transaksi yang di miliki partner saat payment qr |
serviceCode | String | Kode Service qr payment |
latestTransactionStatus | String | 00 - Success, 07 - Not found. |
transactionDesc | String | Deskripsi Tranasksi |
amount | Object | |
value | String | Jumlah total nominal transaksi. |
currency | String | Mata uang. |
Response samples
{
"responseCode": "2005100",
"responseMessage": "Successful",
"referenceNo": "5335008",
"originalPartnerReferenceNo": "00053350090005335009",
"serviceCode": "51",
"latestTransactionStatus": "00",
"transactionDesc": "SUCCESS",
"paidTime": "2025-01-17T11:54:34.938+07:00",
"amount": {
"value": "10000.00",
"currency": "IDR"
}
}
List Response Code API Transaction Status Inquiry
Response Code | Response Message | Description |
---|---|---|
2005100 | Success | Sukses |
4005101 | Invalid field format { field name } | Format invalid |
4005102 | Invalid mandatory field {field name} | Format pada bidang wajib tidak ada atau tidak valid |
4015100 | Unauthorized. Invalid Signature | X-Signature salah |
4095100 | Cannot use same X-EXTERNAL-ID in same day | X-External-ID sudah pernah digunakan di hari yang sama |
4045101 | Bad Request | Request header ada yang salah / kurang |
4045101 | Unauthorized. Client Forbidden Access API | Partner tidak dapat mengakses api terkait |